<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
</head>
<body>
<div id="app">

</div>
<script type="text/javascript" src="myVue.1.0.0.js"></script>
<script type="text/javascript">
    new Vue({
        el:"#app",
        data:{
            name:"张泽立"//name :{} 如果是对象则要递归
        }
    });

    /*var obj ={name:"max"};

    console.info(obj);
    for(var key in obj){
        console.info(key);
    }*/

    //obj._defineGetter_
    //执行钩子函数
    /*obj.__defineGetter__('name',function () {
        return 1;
    });
    console.info(obj.name)
    obj.defineProperty("obj",'name',{
        get:function () {

        },
        set:function () {

        }
    });*/
</script>

</body>
</html>